RAIS  3.2
RAIS::Common::UserManagement::DataRole Class Reference

This class encapsulates all data role properties. More...

Inheritance diagram for RAIS::Common::UserManagement::DataRole:
RAIS::Common::DBObject

List of all members.

Public Member Functions

bool ValidateNewAttribute (DataRoleAttribute newAttribute, ref string returnMessage)
bool ContainsRegionRestriction (string regionName)
 DataRole ()
 DataRole (IDataRecord record)
bool AddAttribute (DataRoleAttribute newAttribute, ref string returnMessage)
bool RemoveAttribute (DataRoleAttribute removedAttribute, ref string returnMessage)
DataRoleAttribute GetAttributeByIndex (int index)

Properties

DataRoleAttributes Attributes [get, set]
 Gets the role's attributes colleciton.
DataRoleAttributes AddedAttributes [get]
 Gets the collection of added role's attributes.
DataRoleAttributes RemovedAttributes [get]
 Gets the collection of removed role's attributes.
bool Modified [get, set]
 Gets and sets "modified" flag.

Detailed Description

This class encapsulates all data role properties.


Constructor & Destructor Documentation

RAIS::Common::UserManagement::DataRole::DataRole ( )

Definition at line 122 of file DataRole.cs.

RAIS::Common::UserManagement::DataRole::DataRole ( IDataRecord  record)

Definition at line 124 of file DataRole.cs.


Member Function Documentation

bool RAIS::Common::UserManagement::DataRole::AddAttribute ( DataRoleAttribute  newAttribute,
ref string  returnMessage 
)

Definition at line 146 of file DataRole.cs.

bool RAIS::Common::UserManagement::DataRole::ContainsRegionRestriction ( string  regionName)

Definition at line 110 of file DataRole.cs.

DataRoleAttribute RAIS::Common::UserManagement::DataRole::GetAttributeByIndex ( int  index)

Definition at line 175 of file DataRole.cs.

bool RAIS::Common::UserManagement::DataRole::RemoveAttribute ( DataRoleAttribute  removedAttribute,
ref string  returnMessage 
)

Definition at line 163 of file DataRole.cs.

bool RAIS::Common::UserManagement::DataRole::ValidateNewAttribute ( DataRoleAttribute  newAttribute,
ref string  returnMessage 
)

Definition at line 93 of file DataRole.cs.


Property Documentation

DataRoleAttributes RAIS::Common::UserManagement::DataRole::AddedAttributes [get]

Gets the collection of added role's attributes.

Definition at line 64 of file DataRole.cs.

DataRoleAttributes RAIS::Common::UserManagement::DataRole::Attributes [get, set]

Gets the role's attributes colleciton.

Definition at line 56 of file DataRole.cs.

bool RAIS::Common::UserManagement::DataRole::Modified [get, set]

Gets and sets "modified" flag.

Definition at line 78 of file DataRole.cs.

DataRoleAttributes RAIS::Common::UserManagement::DataRole::RemovedAttributes [get]

Gets the collection of removed role's attributes.

Definition at line 71 of file DataRole.cs.


The documentation for this class was generated from the following file: